import request from '@/utils/request'

// 查询客户跟进列表
export function listZsCustomerFollow(query) {
  return request({
    url: '/life/zsCustomerFollow/list',
    method: 'get',
    params: query
  })
}

// 查询客户跟进详细
export function getZsCustomerFollow(id) {
  return request({
    url: '/life/zsCustomerFollow/' + id,
    method: 'get'
  })
}

// 新增客户跟进
export function addZsCustomerFollow(data) {
  return request({
    url: '/life/zsCustomerFollow',
    method: 'post',
    data: data
  })
}

// 修改客户跟进
export function updateZsCustomerFollow(data) {
  return request({
    url: '/life/zsCustomerFollow',
    method: 'put',
    data: data
  })
}

// 删除客户跟进
export function delZsCustomerFollow(id) {
  return request({
    url: '/life/zsCustomerFollow/' + id,
    method: 'delete'
  })
}
